Diffraction classification